import {
    Service
} from "./request";

// 搜索车辆关键字
export function getCarList(config) {
    const params = new URLSearchParams()
    params.append('page', config.page);
    return Service({
        url: "/api/oldcar/getCarList",
        data: params
    })
}

//车辆搜索接口
export function searchList(config) {
    const params = new URLSearchParams()
    params.append('page', config.page)
    params.append('mod', config.mod)
    return Service({
        url: '/api/oldcar/searchList',
        data: params,
    })
}